package org.zhxy.service;

import jakarta.servlet.http.HttpServletResponse;
import jakarta.servlet.http.HttpSession;
import org.zhxy.model.request.LoginRequest;

import java.io.IOException;
import java.util.Map;

public interface SystemService {
    void getCaptcha(HttpSession httpSession, HttpServletResponse response) throws IOException;

    String login(LoginRequest loginRequest, HttpSession httpSession);

    Map<String, Object> getUserInfo();

    void updatePwd(String oldPwd, String newPwd);
}
